package com.ruoyi.boat.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 声通信数据对象 t_stx_data
 * 
 * @author ruoyi
 * @date 2024-07-11
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TStxData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 艇编号 */
    @Excel(name = "艇编号")
    private String boatCode;

    /** 数据时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 指令类型 */
    @Excel(name = "指令类型")
    private Integer type;

    /** 分包 */
    @Excel(name = "分包")
    private Integer flag;

    /** 声通信数据段 */
    @Excel(name = "声通信数据段")
    private String dataList;

}
